From: Marco Trevisan (TreviƱo) Date: Fri, 3 Oct 2025 02:37:49 +0000 (+0200) Subject: theme: Uniform the style of the dialog warnings X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~80^2^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2e72c5472bb1cf7400a0a78cf007686ee0032385;p=gnome-shell.git theme: Uniform the style of the dialog warnings The end session dialog is now using a new style for the warning messages but this style is not re-used by other dialogs that have messages with a similar role. So be consistent, and use same style for all the dialogs that are showing a warning or an info message, and in particular - Keyring dialog error messages - Polkit dialogs error and info messages - Conflicting dialog warning message Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss b/data/theme/gnome-shell-sass/widgets/_dialogs.scss index 1cf85f57c..0b61782be 100644 --- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss +++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss @@ -126,10 +126,19 @@ .prompt-dialog-null-label { @extend %caption; text-align: center; + padding: $base_padding * 1.5; + border-radius: $base_border_radius; + margin: $base_margin 0; } .prompt-dialog-error-label { color: $warning_color; + background-color: transparentize($warning_color, 0.9); + } + + .prompt-dialog-info-label { + color: $fg_color; + background-color: transparentize($fg_color, 0.9); } } diff --git a/data/theme/gnome-shell-sass/widgets/_login-lock.scss b/data/theme/gnome-shell-sass/widgets/_login-lock.scss index 4ac7c4829..b661e93c8 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-lock.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-lock.scss @@ -69,6 +69,10 @@ $_gdm_dialog_width: 25em; .conflicting-session-dialog-desc-warning { text-align: center; color: $warning_color; + background-color: transparentize($warning_color, 0.9); + padding: $base_padding * 1.5; + border-radius: $base_border_radius; + margin: $base_margin 0; } }